package com.sdnu.service.service.impl;

import com.sdnu.service.entity.UcenterClazz;
import com.sdnu.service.mapper.UcenterClazzMapper;
import com.sdnu.service.service.UcenterClazzService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Zhao YunLai
 * @since 2022-03-20
 */
@Service
public class UcenterClazzServiceImpl extends ServiceImpl<UcenterClazzMapper, UcenterClazz> implements UcenterClazzService {

    @Override
    public Boolean addClazz(UcenterClazz ucenterClazz) {
        System.out.println("添加班级--"+ucenterClazz.getClazzName());
        return this.save(ucenterClazz);
    }
}
